package com.aat.dizena.base.service.impl;

import java.util.*;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.aat.dizena.base.bean.User0info;
import com.aat.dizena.base.dao.User0infoDao;
import com.aat.dizena.base.service.User0infoService;

@Service
public class User0infoServiceImpl  implements User0infoService {

    @Autowired
    private User0infoDao user0infoDao;

    public int addBean(User0info bean){
        return user0infoDao.addBean(bean);
    }

    public int updateBean(User0info bean){
        return user0infoDao.updateBean(bean);
    }

    public int deleteBean(String id){
        return user0infoDao.deleteBean(id);
    }

    public User0info queryBean(String id){
        return user0infoDao.queryBean(id);
    }

    public List<User0info> queryAll(Map<String, Object> map){
        return user0infoDao.queryAll(map);
    }

    public long queryCount(Map<String, Object> map){
        return user0infoDao.queryCount(map);
    }

	public User0info queryUinfo(String uid) {
		return user0infoDao.queryUinfo(uid);
	}

}
